#ifndef _BRIDGE_ENTITY_2_H_
#define _BRIDGE_ENTITY_2_H_

#include "BridgeData2.h"
#include "AbstractEntity.h"
#include "FireEntity.h"

class BridgeEntity2 : public AbstractEntity
{
private:
	BridgeData2* _data;

public:
	FireEntity* leftFire;
	FireEntity* rightFire;

	BridgeEntity2(int id, int type, double x, double y);

	//************************************
	// Method:    update
	// FullName:  BridgeEntity2::update
	// Access:    virtual public 
	// Returns:   void
	// Qualifier:
	// Parameter: long time
	//************************************
	virtual void update(long time);

	//************************************
	// Method:    draw
	// FullName:  BridgeEntity2::draw
	// Access:    virtual public 
	// Returns:   void
	// Qualifier:
	// Parameter: long time
	//************************************
	virtual void draw(long time);

	//************************************
	// Method:    getAbstractData
	// FullName:  BridgeEntity2::getAbstractData
	// Access:    virtual public 
	// Returns:   AbstractData*
	// Qualifier:
	//************************************
	virtual AbstractData* getAbstractData();

	//************************************
	// Method:    ~BridgeEntity2
	// FullName:  BridgeEntity2::~BridgeEntity2
	// Access:    public 
	// Returns:   
	// Qualifier:
	//************************************
	~BridgeEntity2();

};

#endif